<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes"/>
<xsl:template match="/">
<contentObject>
    <contentDescription>SitRep Field Observation[<xsl:value-of select="report/preparedBy"/>,<xsl:value-of select="report/observationId"/>]</contentDescription>
    <contentKeyword>
        <valueListUrn>http://icnet.mitre.org/ValueLists/ContentKeywords</valueListUrn>
        <value>MEXL-SitRep</value>        
        <value>
            <xsl:value-of select="report/srpKeyword"/>
        </value>
        <value>MEXL-SitRep FieldObservation</value>
    </contentKeyword>
    <xmlContent>
        <embeddedXMLContent>
            <mEXLSR:SitRep xmlns:mEXLSR="http://icnet.mitre.org/mEXL/SitRep/">
                <ObservationLocation xmlns="">
                    <gml:Point xmlns:gml="http://www.opengis.net/gml">
                        <gml:pos><xsl:value-of select="report/georef/latitude"/><xsl:text> </xsl:text><xsl:value-of select="report/georef/longitude"/></gml:pos>
                    </gml:Point>
                </ObservationLocation>
                <MessageID xmlns=""><xsl:value-of select="report/messageId"/></MessageID>
                <PreparedBy xmlns="">
                    <xnl:PersonName xmlns:xnl="urn:oasis:names:tc:ciq:xnl:3">
                        <xnl:NameElement xnl:ElementType="Full Name"><xsl:value-of select="report/preparedBy"/></xnl:NameElement>
                    </xnl:PersonName>
                </PreparedBy>
                <ReportPurpose>Test Field Observation</ReportPurpose>
                <ReportNumber>1</ReportNumber>
                <ReportVersion>
                    <ValueListURI xmlns="urn:oasis:names:tc:emergency:EDXL:CT:1.0">http://versionuri</ValueListURI>
                    <Value xmlns="urn:oasis:names:tc:emergency:EDXL:CT:1.0">0.5</Value>
                </ReportVersion>
                <FromDateTime xmlns=""><xsl:value-of select="report/reportDateTime"/></FromDateTime>
                <ToDateTime xmlns=""><xsl:value-of select="report/reportDateTime"/></ToDateTime>
                <PreparedDateTime xmlns=""><xsl:value-of select="report/reportDateTime"/></PreparedDateTime>
                <MessageReportType xmlns="">FieldObservation</MessageReportType>
                <IncidentID xmlns="">1</IncidentID>
                <Certainty xmlns=""><xsl:value-of select="report/certainty"/></Certainty>
                <Urgency xmlns=""><xsl:value-of select="report/urgency"/></Urgency>
                <SituationObservation xmlns="">
                    <ObservationID><xsl:value-of select="report/observationId"/></ObservationID>
                    <ObservationType>MedicalandPublicHealth</ObservationType>
                    <ImmediateNeeds><xsl:value-of select="report/immediateNeeds"/></ImmediateNeeds>
                    <ObservationText><xsl:value-of select="report/observationText"/></ObservationText>
                </SituationObservation>
            </mEXLSR:SitRep>
        </embeddedXMLContent>
    </xmlContent>
</contentObject>
</xsl:template>
</xsl:stylesheet>